Skip to content

chore: add Flue deploy workflow on merge to production - #32772

Merged
mvvmm merged 8 commits into
productionfrom
flue-deploy-workflow
Aug 21, 2026
Merged

mvvmm merged 8 commits into
productionfrom
flue-deploy-workflow

Conversation

@mvvmm

@mvvmm mvvmm commented Aug 14, 2026

Copy link
Copy Markdown
Collaborator

Summary

Adds a GitHub Actions workflow that automatically deploys the Flue bot Worker (cloudflare-docs-flue) whenever .flue/** changes are merged to production.

  • .github/workflows/flue-deploy.yml — new workflow: triggers on push to production (path-filtered to .flue/**), runs pnpm run flue:deploy, uses the existing CLOUDFLARE_API_TOKEN secret, serializes deploys with cancel-in-progress: false, and posts a Google Chat failure alert on error
  • package.json — drops --secrets-file .env from flue:deploy; Worker runtime secrets are preconfigured on the Worker and preserved across deploys by Wrangler
  • .flue/wrangler.jsonc — adds secrets.required listing all 10 production runtime secrets so wrangler deploy fails explicitly if any are missing
  • .github/workflows/ci.yml — adds flue-deploy.yml to paths-ignore so the main docs CI does not run on deploy-workflow-only changes

Documentation checklist

@github-actions

Copy link
Copy Markdown
Contributor

This pull request requires reviews from CODEOWNERS as it changes files that match the following patterns:

Pattern Owners
* @cloudflare/product-owners
/.github/ @cloudflare/content-engineering, @kodster28, @mvvmm, @colbywhite, @ahaywood, @MohamedH1998
package.json @cloudflare/content-engineering

@github-actions

github-actions Bot commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

@mvvmm

mvvmm commented Aug 19, 2026

Copy link
Copy Markdown
Collaborator Author

/rebase

@cloudflare-docs-bot

cloudflare-docs-bot Bot commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

Review

⚠️ 1 warning found in commit 4d8e57a.

👉 Fix in your agent 👈
Fix the following review findings in PR #32772 (https://github.com/cloudflare/cloudflare-docs/pull/32772).

Before making changes, review each finding and present a brief summary table:
- For each finding, state whether you agree, disagree, or need clarification
- If you disagree (e.g. the fix requires disproportionate effort for minimal benefit,
  or the finding is factually incorrect), explain why
- If you need clarification before deciding, ask those questions
- Then share your plan for which issues to tackle and in what order

After triaging, follow this order:
1. Post a comment on this PR for any findings you are skipping, with the finding ID and your reasoning.
2. Then commit the fixes for the legitimate findings.

The comment must come before the commit — the bot reads PR comments when a new
push triggers a review, so skip comments posted after the push will be missed.

---

## Code Review

### Warnings (1)

#### CR-96720a31e5da · Incorrect Google Chat notification format
- **File:** `.github/workflows/flue-deploy.yml` line 54
- **Issue:** The message uses Slack-style `<https://...|View run>` and `\n` inside bash double quotes. Google Chat's text field uses `[text](url)` for links, and in this quoting the `\n` remains a literal backslash-n rather than a newline.
- **Fix:** Format the message as Google Chat Markdown with `[View run](https://github.com/$REPO/actions/runs/$RUN_ID)` and use `$'...'` or real newlines so newlines render correctly.

Code Review

This code review is in beta and may not always be helpful — use your judgment.

Warnings (1)
File Issue
.github/workflows/flue-deploy.yml line 54 Incorrect Google Chat notification format — The message uses Slack-style <https://...|View run> and \n inside bash double quotes. Google Chat's text field uses [text](url) for links, and in this quoting the \n remains a literal backslash-n rather than a newline. Fix: Format the message as Google Chat Markdown with [View run](https://github.com/$REPO/actions/runs/$RUN_ID) and use $'...' or real newlines so newlines render correctly.

Conventions

No convention issues found.

Style Guide Review

No style-guide issues found.

Commands

Only codeowners can run commands. Post a comment with the command to trigger it.

Command Description
/review Runs a review now. Incremental if a prior review exists, full if not.
/full-review Re-reviews the entire PR diff from scratch, ignoring incremental history. Useful after a rebase, when you want a fresh review, or if the bot gets out of sync and reports issues that no longer exist.
/ignore-review-limit Permanently lifts the 2-review automatic limit for this PR. Future pushes will trigger reviews as normal.
/disable-auto-review Stops automatic reviews from triggering on future pushes to this PR. Codeowners can still run /review or /full-review manually.
/rebase Rebases the PR branch against production. On conflict, attempts to resolve automatically using AI. Stops with an explanation if confidence is not high enough.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Aug 20, 2026

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview URL: https://flue-deploy-workflow-cloudflare-docs.cloudflare-docs.workers.dev (commit 4d8e57a)

This URL reflects your latest Preview deployment

Preview Deployments by commit

Status Deployment URL Commit Updated (UTC) See this deployment's details
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://8ba5483e-cloudflare-docs.cloudflare-docs.workers.dev 4d8e57a 2026-08-21T19:28:37.746Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://0bbaf6dd-cloudflare-docs.cloudflare-docs.workers.dev 9acc567 2026-08-21T18:24:16.290Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://b3d46dd9-cloudflare-docs.cloudflare-docs.workers.dev b4e93b2 2026-08-20T21:00:20.926Z Visit the dashboard ↗
  • Build: In progress 🔵

View logs ↗
14e667f 2026-08-20T20:12:52.629Z View logs ↗

@mvvmm

mvvmm commented Aug 20, 2026

Copy link
Copy Markdown
Collaborator Author

/rebase

@mvvmm

mvvmm commented Aug 21, 2026

Copy link
Copy Markdown
Collaborator Author

/ignore-review-limit

@mvvmm

mvvmm commented Aug 21, 2026

Copy link
Copy Markdown
Collaborator Author

/rebase

@mvvmm
mvvmm marked this pull request as ready for review August 21, 2026 19:03
@mvvmm
mvvmm requested review from a team, MohamedH1998, ahaywood and colbywhite as code owners August 21, 2026 19:03
@mvvmm
mvvmm merged commit a2fee66 into production Aug 21, 2026
18 checks passed
@mvvmm
mvvmm deleted the flue-deploy-workflow branch August 21, 2026 19:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants